<?php
    session_start();
    session_destroy();

    function redirect_successful() 
    {
        echo "<html><head><script>window.location = '/';</script></head></html>";
    }

    redirect_successful();
?>
